<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <script type="text/javascript">
        var iNum01 = 12;

        function fnMyalert() {
            //var iNum01 = 24;
            alert(iNum01);
        }
        fnMyalert();
    
    </script>
    <title>Document</title>
</head>
<body>


</body>
</html> 